<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
		<title>酒店知识大赛</title>
		<link rel="stylesheet" type="text/css" href="css/main.css" />
                <script src="http://static.xz.veimg.cn/js/plus/2013/ga.js" type="text/javascript" charset="utf-8"></script>
                <script src="http://www.google-analytics.com/analytics.js" type="text/javascript" charset="utf-8"></script>
		<style type="text/css">
			body {
				background: url(img/bg_2.png) repeat;
				position: relative;
			}
		</style>
	</head>
	<body>
		<div class="page2_wrap page3_wrap">
			<div class="title_img">
				<img src="img/datititle.png" />
				<p class="section"><strong><{$question_name}></strong></p>
			</div>
			<div class="bgimg">
				<img src="img/timubg.png"/>
			</div>
			<div class="question_box">
				<div class="time">
					<p id="time" class="js_time">000s</p>
					<p id="number">1/10</p>
				</div>
                                <{foreach key=k item=v from=$questions}>
				<div class="question" id='question<{$k}>' <{if $k neq 1}>style='display: none'<{/if}>>
					<div class="description">
						<{$v.question}>
					</div>
					<div class="selection">
						<ul>
							<li <{if $v.answer eq 'A'}>class="right"<{/if}>>
								<p>A、</p>
								<span><{<{$v.question_options.A}>}></span>
							</li>
                                                        <li <{if $v.answer eq 'B'}>class="right"<{/if}>>
								<p>B、</p>
								<span><{<{$v.question_options.B}>}></span>
							</li>
                                                        <li <{if $v.answer eq 'C'}>class="right"<{/if}>>
								<p>C、</p>
								<span><{<{$v.question_options.C}>}></span>
							</li>
                                                        <li <{if $v.answer eq 'D'}>class="right"<{/if}>>
								<p>D、</p>
								<span><{<{$v.question_options.D}>}></span>
							</li>
						</ul>
					</div>
				</div>
                                <{/foreach}>
			</div>
		</div>

		<div class="background"></div>
		<div class="background_two"></div>
		<!--答题错误-->
                <{foreach key=key item=val from=$questions}>
		<div class="err_answer err<{$key}>">
			<div class="title">
				<a href="javascript:;"></a>哎呀，答错了~
			</div>
			<div class="explain">
				答案提示：<{$val.answer_key}>
			</div>
			<p class="commod_close">再答一次</p>
		</div>
                <{/foreach}>
		
		<div class="draw js_chaoshi">
			<div class="title">
				您已超时，请选择别的部门继续挑战
			</div>
			<div class="btns">
				<p class="err js_back">重新选题</p>
			</div>
		</div>
        <{include file="content.html"}>

        <input type='hidden' id='user_id' value="<{$user_id}>" />
        <input type='hidden' id='question_id' value="<{$question_id}>" />
        <input type='hidden' id='status' value="1" />
        <script>
            ga('send','event','crazy_answer_second','41','2');
        </script>
	</body>
	<script src="js/jquery-1.11.2.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="js/main.js" type="text/javascript" charset="utf-8"></script>
        <{include file="common.html"}>
</html>